package pojo;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class RedeemCode {
    private Long id;
    private Long userId;
    private Long productId;
    private String code;
    private String status; // "unused", "used"
    private LocalDateTime generatedTime;
    private LocalDateTime usedTime;
}